let mongoose = require('mongoose')

mongoose
    .connect("mongodb+srv://3572629950:liuzifan0319@cluster0.wmu1s6h.mongodb.net/LiveProduct")
    .then(()=>{
        console.log('database y')
    })
    .catch((err)=>{
        console.log('database n',err)
    })

module.exports = mongoose